package com.butterknife;

import android.app.Activity;

public class ButterKnife {
    public static void bind(Activity activity){
        String name = activity.getClass().getName()+"_ViewBinding";
        try{
            Class<?> clazz = Class.forName(name);
            IBinder binder = (IBinder) clazz.newInstance();
            binder.bind(activity);
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
